cs.cosco.tracking.{numberType}.{number}
货物追踪查询
- 请求路由:
cs.cosco.tracking.{numberType}.{number}- 交互模型:
Request Response- 访问限制: 无
一个接口支持三种单号:提单号(bl) 、订舱参考号(bkg)、箱号(cntr),由 numberType 区分
请求
RSocket.rr({
"route" : "cs.cosco.tracking.bl.6103622780"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
number | String | 是 | 单号,例如提单号 6103622780 或箱号 CBHU4398907 |
numberType | String | 是 | 单号类型:bl / bkg / cntr,默认 bl |
返回
COSCO 原始 JSON 响应
{
"code" : 0,
"message" : "success",
"data" : {
"type" : "bl",
"numberType" : "both",
"content" : {
"trackingPath" : { },
"containerStatus" : [ ]
}
}
}